T3.2–T3.6: Weekly view — navigation, dish management, and frequency chips#6
Merged
Merged
Conversation
…onali in localStorage Agent-Logs-Url: https://github.com/Marcogn/menu-planner/sessions/036f5c06-d774-41d0-95e5-8a03e4065daa Co-authored-by: Marcogn <54799180+Marcogn@users.noreply.github.com>
…quenze Agent-Logs-Url: https://github.com/Marcogn/menu-planner/sessions/a3d86001-a711-4e9f-be69-1b9d0ec841a4 Co-authored-by: Marcogn <54799180+Marcogn@users.noreply.github.com>
…pe key on modal, dvh fallback Agent-Logs-Url: https://github.com/Marcogn/menu-planner/sessions/a3d86001-a711-4e9f-be69-1b9d0ec841a4 Co-authored-by: Marcogn <54799180+Marcogn@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
Marcogn
May 4, 2026 13:29
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Completes the weekly planning UI: users can now navigate weeks, add/edit/remove dishes per slot, and see real-time element frequency usage with over-limit highlighting.
WeekView.vue
formatWeekLabel()→"Settimana del lun 04/05"; "Oggi" button shown only when off the current week+(keyboard accessible); occupied slot: dish cards with name + element chipsremoveDishFromSlot+refresh()computeWeeklyFrequenciesas a reactivecomputed; chips shownome (n/max)for finite limits ornomefor ∞;.chip--exceeded→ redslotsMapcomputed (Map<"day-meal", Dish[]>) replaces repeated per-render lookups in the templateFormAggiuntaPiatto.vue (new)
removeDishFromSlot→addDishToSlot(replace in place) →settimanaStore.refresh()Escape;max-height: 90vhfallback beforedvh; emoji buttons wrapped witharia-hidden